﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace OdeToFood.Controllers
{
    public class DessertController : Controller
    {
        //
        // GET: /Dessert/
         [HttpPost]
        public ActionResult Search(String name)
        {
           
            var message = Server.HtmlEncode(name);
            return Content("I group of desserts comes in here  " + message);

        }

         [HttpGet]

         public ActionResult Search()
         {

             var message = Server.HtmlEncode("Hello World");
             return Content("I group of desserts comes in here  " + message);

         }

    }
}
